package com.ruoyi.erp.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import javax.validation.constraints.NotBlank;

/**
 * xzg_product
 *
 * @author
 */
public class XzgProduct extends BaseEntity {
    /**
     * 产品ID
     */
    private Long productId;

    /**
     * 产品名称
     */
    @Excel(name = "产品名称")
    @NotBlank(message = "产品名字不能为空")
    private String productName;

    /**
     * 产品编号
     */
    @Excel(name = "产品编号")
    @NotBlank(message = "产品编号不能为空")
    private String productCode;

    /**
     * 产品类型（0产品 1材料 2工具 3其它）
     */
    @Excel(name = "产品材料")
    @NotBlank(message = "产品类型不能为空")
    private String productType;

    /**
     * 成品
     */
    @Excel(name = "产品数量", cellType = Excel.ColumnType.NUMERIC)
    private Integer finished;

    /**
     * 半成品
     */
    private Integer partially;

    /**
     * 废品
     */
    private Integer fail;

    /**
     * 产品材料
     */
    @Excel(name = "产品材料")
    private String material;

    /**
     * 状态 1删除
     */
    private String deleted;

    private static final long serialVersionUID = 1L;

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getProductType() {
        return productType;
    }

    public void setProductType(String productType) {
        this.productType = productType;
    }

    public Integer getFinished() {
        return finished;
    }

    public void setFinished(Integer finished) {
        this.finished = finished;
    }

    public Integer getPartially() {
        return partially;
    }

    public void setPartially(Integer partially) {
        this.partially = partially;
    }

    public Integer getFail() {
        return fail;
    }

    public void setFail(Integer fail) {
        this.fail = fail;
    }

    public String getMaterial() {
        return material;
    }

    public void setMaterial(String material) {
        this.material = material;
    }

    public String getDeleted() {
        return deleted;
    }

    public void setDeleted(String deleted) {
        this.deleted = deleted;
    }

}